package com.example.chat.utils;

import java.time.LocalDateTime;

public class RedisConstants {
    public static final String ADDRESSLIST_FRIENDS = "addresslist:id:";
    public static final String ADDRESSLIST_FriendList = "addresslist:friendList:ID_";

    public static final String CHAT_CHATCONTENT = "chat:chat_content:ID_";
    public static final String CHAT_LIST = "chat:caht_list:ID_";
    public static final String CHAT_OBJECT = "chat:chat_object:ID_";
    public static final String CHAT_OBJECT_CONTENT = "content";
    public static final String CHAT_OBJECT_TIME = "time";
    public static final String CHAT_OBJECT_Tip = "tip";

    public static final String CHAT_GROUP_OBJECT = "chat_group:user_group_object:ID_";
    public static final String CHAT_GROUP_LIST = "chat_group:user_group_list:ID_";
    public static final String CHAT_GROUP_USERS_ID = "chat_group:group_users:groupID_";
    public static final String CHAT_GROUP_USERS_INFO = "chat_group:group_users:Info_groupID_";
    public static final String CHAT_GROUP_MESSAGE = "chat_group:group_message:groupID_";

    public static final String MOMENT_MY_COMMENT = "moment:my_moment:";
    public static final String MOMENT_PUBLIC_MOMENT = "moment:public_moment:";
    public static final String MOMENT_LIKES = "moment:likes:";
    public static final String moment_comments = "moment:comments:";
    public static final String MOMENT_USERID = "moment:userId:";


    public static final String USER_PHONE = "user:no_exist_phone:";
    public static final String STUDENT_ID = "user:no_exist_studentID:";

    public static final Integer TIME_THIRTY_MINUTES = 30;
    public static final Integer TIME_ONE_DAY = 1;

    public static final Integer TIME_TEN_MINUTES = 10;
    public static final Integer TIME_ONE_MINUTES = 3;
    public static final long BEGIN_TIMESTAMP = 1035936000L;

}
